package com.example.demo.param.repository;

import com.example.demo.param.entity.Param;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ParamRepository  extends JpaRepository<Param,Long> {
    List<Param> findByPzsm(String pzsm);

    List<Param> findByXxxxIdAndPzsm(Long xxId, String paramPzsmPhoto);

    List<Param> findByPzsmAndXxxxIdNull(String paramPzsmPhoto);
}
